package com.fz.vo.merchant.merRole;

import com.fz.vo.merchant.merMenu.MerMenuVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;
@Getter
@Setter
@ApiModel(value="角色基本信息", description="角色基本信息")
public class MerRoleVo {
    @ApiModelProperty(value = "角色ID")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "数据权限")
    private String dataScope;

    @ApiModelProperty(value = "角色级别")
    private Integer level;

    @ApiModelProperty(value = "角色权限")
    private String permission;

    @ApiModelProperty(value = "所属角色的菜单")
    private List<MerMenuVo> menuVoList = new ArrayList<>();

}
